<template>
    <div class="home-swiper-container">
        <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
            <van-swipe-item v-for="(item,index) in item "
            :key="index"
            >
                <img :src=item.icon alt="">
            </van-swipe-item>
            
        </van-swipe>
    </div>
</template>
<script>
import Vue from 'vue';
import '../../css/homeconmecss/homeswiper.css'
import { Swipe, SwipeItem } from 'vant';

Vue.use(Swipe);
Vue.use(SwipeItem);
export default {
    components:{
    },
    props:{
        item:Array
    },
    mounted() {
        // window.console.log(this.item)
    },
}
</script>
<style>

</style>